package com.lrd.snapshotorder.protocol.dto.order;

import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.Data;

import java.time.LocalDate;

/**
 * 订单查询入参
 */
@Data
public class OrderTaskQueryDto {

    /**
     * 批次号
     */
    private Integer batchNumber;

    /**
     * 发货开始时间
     */
    @JsonFormat(pattern = "yyyy-MM-dd", timezone = "GMT+8")
    private LocalDate postTimeBegin;

    /**
     * 发货截止时间
     */
    @JsonFormat(pattern = "yyyy-MM-dd", timezone = "GMT+8")
    private LocalDate postTimeEnd;

    private Integer pageIndex = 1;
    private Integer pageSize = 20;
}
